<?php
/**
 * TOP API: alitrip.policy.rule.compression.upload request
 * 
 * @author auto create
 * @since 1.0, 2023.09.07
 */
class AlitripPolicyRuleCompressionUploadRequest
{
	/** 
	 * alitrip.policy.rule.upload接口的参数经过压缩后得到的字节数组，生成的文件
	 **/
	private $file;
	
	private $apiParas = array();
	
	public function setFile($file)
	{
		$this->file = $file;
		$this->apiParas["file"] = $file;
	}

	public function getFile()
	{
		return $this->file;
	}

	public function getApiMethodName()
	{
		return "alitrip.policy.rule.compression.upload";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->file,"file");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
